/**
 * 
 * @Author: biubiu0002
 * @Date: 2021-04-26 11:43
 **/




#ifndef EAIM_SYSTEM_COURSESELECTIONSERVICE_H
#define EAIM_SYSTEM_COURSESELECTIONSERVICE_H


#include <list>
#include <vector>
#include "CourseSelection.h"

class CourseSelectionService {
private:
    int isContinue(std::list<CourseSelection>& courseSelectionList,std::list<CourseSelection>& tempCourseSelectionList);
public:
    int showAllCourseSelectionList();
    int batchInsertCourseSelection();
    int showCourseSelectionByClass(std::string classId);

    int showCourseSelectionList(std::list<CourseSelection>& courseSelectionList);
    int showCourseSelectionList(std::vector<CourseSelection>& courseSelectionList);

    int checkSelection(std::string studentId,std::string courseId,bool isRelearn,std::list<CourseSelection>& tempCourseSelectionList);

    CourseSelectionService();
    virtual ~CourseSelectionService();

};


#endif //EAIM_SYSTEM_COURSESELECTIONSERVICE_H
